package com.mico.echart.monitor.model;


import java.util.LinkedList;
import java.util.List;

public class TreeMaps {
    private String  name;
    private long value;
    private List<TreeMaps> children = new LinkedList<>();

    public TreeMaps(){

    }

    public TreeMaps(String name, long value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public List<TreeMaps> getChildren() {
        return children;
    }

    public void setChildren(List<TreeMaps> children) {
        this.children = children;
    }
}
